package com.sllp.C71S3TsllpShop.bean;

import java.sql.Timestamp;

public class Work {
    private Integer id;

    private Integer admin;

    private Integer business;

    private Integer user;

    private Timestamp modifyTime;

    private String message;

    private Integer state;

    public Work(Integer id, Integer admin, Integer business, Integer user, Timestamp modifyTime, String message, Integer state) {
        this.id = id;
        this.admin = admin;
        this.business = business;
        this.user = user;
        this.modifyTime = modifyTime;
        this.message = message;
        this.state = state;
    }

    public Work() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAdmin() {
        return admin;
    }

    public void setAdmin(Integer admin) {
        this.admin = admin;
    }

    public Integer getBusiness() {
        return business;
    }

    public void setBusiness(Integer business) {
        this.business = business;
    }

    public Integer getUser() {
        return user;
    }

    public void setUser(Integer user) {
        this.user = user;
    }

    public Timestamp getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Timestamp modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message == null ? null : message.trim();
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
}